﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iTelluro.Explorer.Infrastructure.CrossCutting.Validator;

namespace iTelluro.Explorer.Infrastructure.CrossCutting.NetFramework.Validator
{
    public class DataAnnotationsEntityValidatorFactory
        :IEntityValidatorFactory
    {
        #region IEntityValidatorFactory 成员

        /// <summary>
        /// Create a entity validator
        /// </summary>
        /// <returns></returns>
        public IEntityValidator Create()
        {
            return new DataAnnotationsEntityValidator();
        }

        #endregion
    }
}
